<?php

class MenuItem {

    /**
     *
     * @var int
     */
    public $menu_item_id;
	
	/**
     *
     * @var int
     */
    public $item_id;
	
	/**
     *
     * @var int
     */
    public $menu_id;

	/**
     *
     * @var string
     */
    public $label;
	
	/**
     *
     * @var string
     */
    public $link;
	
	/**
     *
     * @var int
     */
    public $left_id;
	
	/**
     *
     * @var int
     */
    public $right_id;
	
	/**
     *
     * @var int
     */
    public $parent_id;
	
	 /**
     * Constructor
     *
     * @param int $menu_item_id
     * @param int $item_id
     * @param int $menu_id
	 * @param string $label
	 * @param string $link
     * @param int $left_id
	 * @param int $right_id
	 * @param int $parent_id
	 */
    public function  __construct($menu_item_id = null, $item_id = null, $menu_id = null, $label = null, $link = null, $left_id = null, $right_id = null, $parent_id = null) {

        $this->menu_item_id = $menu_item_id;
        $this->item_id = $item_id;
        $this->menu_id = $menu_id;
        $this->label = $label;
		$this->link = $link;
        $this->left_id = $left_id;
        $this->right_id = $right_id;
        $this->parent_id = $parent_id;
	}
}


class ListMenuItem{

    /**
     *
     * @var Branch[]
     */
    public $MenuItem;
}